﻿using System;
using System.Linq;
using Wicture.DbRESTFul;
using Wicture.DbRESTFul.Auth;

namespace Wicture.QPZS.EPC.Auth.Proxy
{
    public class ZpcTokenAuthorizer : DefaultJwtTokenIdentifier, ITokenAuthorizer
    {
        public string[] Source => new string[] { "zpc", "Zpc_Saas", "rpc_Zpc.Saas.Backend" };

        public ZpcTokenAuthorizer()
        {
            ValidationParameters = TokenProviderOptions.Default.ValidationParameters;
        }
    }
}
